setblock ~ ~ ~ black_glazed_terracotta
summon item_frame ~ ~1 ~ {Tags:["electric_button"],Facing:1b,ItemDropChance:0.0f,CustomNameVisible:1b,Item:{id:"blue_terracotta",Count:1b,tag:{display:{Name:'{"text":"RIGHT CLICK","italic": false,"color": "yellow"}'}}},Invisible:1b}
scoreboard players set @e[type=item_frame,tag=electric_button,distance=..1,sort=nearest,limit=1] eb_last 0